
			
			<div class="container">
				<div class="currency-form">
				<div class="page-header" style="position:relative;">
					<h3>Edit Country </h3>
				</div>
					<?php echo form_open('countries/update/'. $hasil->country_id,'class ="form-horizontal" ');?>
                        <div class="control-group">
							<label class="control-label" for="name">Country Name<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="name" value="<?php echo set_value('name', $hasil->name); ?>" />
                                <label class="error"><?php echo form_error('name'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="iso_code_2">ISO Code 2</label>
							<div class="controls">
								<input type="text" name="iso_code_2" value="<?php echo set_value('iso_code_2', $hasil->iso_code_2); ?>" class="input-mini" />
                                <label class="error"><?php echo form_error('iso_code_2'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="iso_code_3">ISO Code 3</label>
							<div class="controls">
								<input type="text" name="iso_code_3" value="<?php echo set_value('iso_code_3', $hasil->iso_code_3); ?>" class="input-mini"/>
                                <label class="error"><?php echo form_error('iso_code_3'); ?></label>
							</div>
						</div>
                        <hr />
                       	<div class="control-group">
							<label class="control-label" for="status">Status</label>
							<div class="controls">
								<select name="status">
                                    <?php if ($hasil->status) { ?>
                                      <option value="1" selected="selected">Enabled</option>
                                      <option value="0">Disabled</option>
                                      <?php } else { ?>
                                      <option value="1">Enabled</option>
                                      <option value="0" selected="selected">Disabled</option>
                                      <?php } ?>
                                </select>
                                <label class="error"><?php echo form_error('status'); ?></label>
							</div>
						</div>
                        <div class="form-actions">
                    		<input class="btn btn-primary" id="submit" type="submit" value="Save Change" />
                    		<input class="btn" id="cancel" type="button" name="cancel" value="Cancel" onclick="self.history.back()" /> 
                   		</div>
					<?php echo form_close(); ?>
				</div>
			</div>

		